#include <string>
#include <vector>

#include "EngineMath.h"

using namespace std;
#ifndef STRING
#define STRING
namespace gengine
{
namespace utils
{
class String:public std::basic_string<char, char_traits<char>, allocator<char> >
{
public:
	
	String(){};
	String(const char *str);
	String(std::string str);
	String(char c);

	int toInt();
	double toDouble();
	bool toBool();
	Vector2D toVector2D();
	Vector3D toVector3D();
	Vector4D toVector4D();

	bool isDouble();
	bool isInt();
	bool isBool();

	bool isDigit();
	
	String	getFileExtension() const;
	String getFileName() const;

	 const String & operator +(int a);

	 friend const String & operator +=(String& left,int a);
	

};
}
}
#endif

